package com.hzy.chinese.jchess;

import android.app.Application;

import com.avos.avoscloud.AVOSCloud;
import com.blankj.utilcode.util.LogUtils;
import com.blankj.utilcode.util.Utils;


public class MainApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        initDependence();
    }

    private void initDependence(){
        Utils.init(this);
        LogUtils.getConfig().setLogSwitch(BuildConfig.DEBUG)
                .setLogHeadSwitch(false).setBorderSwitch(false);

        //LeanCloud SDK
        AVOSCloud.initialize(this, "H23l3fbkHmwbgloqIPFxeuyh-gzGzoHsz", "kjnHscf9PsB16bzKOOtjGvRt");
        AVOSCloud.setDebugLogEnabled(true);
    }
}
